<table>
	<tr>
		<td>영화이름<input name="query" id="query" type="text"> 국가 <select
			id="country" name="country">
				<option value="" style="">전체</option>
				<option value="KR">한국</option>
				<option value="JP">일본</option>
				<option value="US">미국</option>
				<option value="HK">홍콩</option>
				<option value="GB">영국</option>
				<option value="FR">프랑스</option>
				<option value="ETC">기타</option>
		</select>
		</td>
	</tr>
	<tr>
		<td>장르 <select id="genre" name="genre">
				<option value="" style="">전체</option>
				<option value="1" style="">드라마</option>
				<option value="2" style="">판타지</option>
				<option value="3" style="">서부</option>
				<option value="4" style="">공포</option>
				<option value="5" style="">로멘스</option>
				<option value="6" style="">모험</option>
				<option value="7" style="">스릴러</option>
				<option value="8" style="">느와르</option>
				<option value="9" style="">컬트</option>
				<option value="10" style="">다큐멘타리</option>
				<option value="11" style="">코미디</option>
				<option value="12" style="">가족</option>
				<option value="13" style="">미스터리</option>
				<option value="14" style="">전쟁</option>
				<option value="15" style="">에니메이션</option>
				<option value="16" style="">범죄</option>
				<option value="17" style="">뮤지컬</option>
				<option value="18" style="">SF</option>
				<option value="19" style="">액션</option>
				<option value="20" style="">무협</option>
				<option value="21" style="">에로</option>
				<option value="22" style="">서스펜스</option>
				<option value="23" style="">서사</option>
				<option value="24" style="">블랙코미디</option>
				<option value="25" style="">실험</option>
				<option value="26" style="">영화카툰</option>
				<option value="27" style="">영화음악</option>
				<option value="28" style="">영화패러디포스터</option>
		</select> <br>제작년도 <input id="yearfrom" name="yearfrom" type="text"
			value="1900"> 부터 ~ <input id="yearto" name="yearto" type="text"
			value="">까지 <br>출력건수 <input id="display" name="display" type="text"
			value="100">
		</td>
	</tr>
	<tr>
		<td><input type="button" value="영화검색" onClick=" setQuery();">
		</td>
	</tr>
</table>

<script  language='JavaScript' charset='utf-8'>
function setQuery(){
var query=$("#query").val();
var country=$("#country").val();
var genre=$("#genre").val();
var yearfrom=$("#yearfrom").val();
var yearto=$("#yearto").val();
var display=$("#display").val();
var url ='/zaza/api/naver/movie/movieSearch_ok.php?query='+query+'&country='+country+'&genre='+genre+'&yearfrom='+yearfrom+'&yearto='+yearto+'&display='+display;
loadMenu('menuBox',url,500,610);

}
</script>
